import request from '@/utils/request'

export function login(data) {
  return request({
    url: 'api/app/user/login',
    method: 'POST',
    data
  })
}
// 注销登录
export function loginOut(data) {
  return request({
    url: 'api/app/user/close',
    method: 'put',
    data
  })
}
